package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页信息对象 test_index
 * 
 * @author ruoyi
 * @date 2022-05-14
 */
public class TestIndex extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评估编号 */
    private Long assessId;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 评估状态（0新入院、1待分派、2待评估、3已评估） */
    @Excel(name = "评估状态", readConverterExp = "0=新入院、1待分派、2待评估、3已评估")
    private String assessStatus;

    /** 当前时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "当前时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;
    private String timeWeek;
    private String timeDay;

    public void setAssessId(Long assessId) 
    {
        this.assessId = assessId;
    }

    public Long getAssessId() 
    {
        return assessId;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setAssessStatus(String assessStatus) 
    {
        this.assessStatus = assessStatus;
    }

    public String getAssessStatus() 
    {
        return assessStatus;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    public String getTimeWeek()
    {
        return timeWeek;
    }
    public void setTimeWeek(String timeWeek)
    {
        this.timeWeek = timeWeek;
    }

    public String getTimeDay()
    {
        return timeDay;
    }
    public void setTimeDay(String timeDay)
    {
        this.timeDay = timeDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("assessId", getAssessId())
            .append("patientName", getPatientName())
            .append("assessStatus", getAssessStatus())
            .append("time", getTime())
            .toString();
    }
}
